package com.uls.czj.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 楼宇管理对象 czj_building
 * 
 * @author czj
 * @date 2024-11-11
 */
public class CzjBuilding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼宇id */
    private Long buildingid;

    /** 楼宇名称 */
    @Excel(name = "楼宇名称")
    private String buildingname;

    /** 楼宇位置 */
    @Excel(name = "楼宇位置")
    private String location;

    /** 楼宇高度（层数） */
    @Excel(name = "楼宇高度", readConverterExp = "层=数")
    private Long height;

    /** 占地面积（平方米） */
    @Excel(name = "占地面积", readConverterExp = "平=方米")
    private BigDecimal totalarea;

    /** 楼宇类型 */
    @Excel(name = "楼宇类型")
    private String buildingtype;

    /** 使用中 */
    @Excel(name = "使用中")
    private Long statusUse;

    /** 空闲 */
    @Excel(name = "空闲")
    private Long statusVacant;

    /** 维修中 */
    @Excel(name = "维修中")
    private Long statusRepair;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdby;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdtime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedby;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedtime;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deletedby;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deletedtime;

    public void setBuildingid(Long buildingid) 
    {
        this.buildingid = buildingid;
    }

    public Long getBuildingid() 
    {
        return buildingid;
    }
    public void setBuildingname(String buildingname) 
    {
        this.buildingname = buildingname;
    }

    public String getBuildingname() 
    {
        return buildingname;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }
    public void setTotalarea(BigDecimal totalarea) 
    {
        this.totalarea = totalarea;
    }

    public BigDecimal getTotalarea() 
    {
        return totalarea;
    }
    public void setBuildingtype(String buildingtype) 
    {
        this.buildingtype = buildingtype;
    }

    public String getBuildingtype() 
    {
        return buildingtype;
    }
    public void setStatusUse(Long statusUse) 
    {
        this.statusUse = statusUse;
    }

    public Long getStatusUse() 
    {
        return statusUse;
    }
    public void setStatusVacant(Long statusVacant) 
    {
        this.statusVacant = statusVacant;
    }

    public Long getStatusVacant() 
    {
        return statusVacant;
    }
    public void setStatusRepair(Long statusRepair) 
    {
        this.statusRepair = statusRepair;
    }

    public Long getStatusRepair() 
    {
        return statusRepair;
    }
    public void setCreatedby(String createdby) 
    {
        this.createdby = createdby;
    }

    public String getCreatedby() 
    {
        return createdby;
    }
    public void setCreatedtime(Date createdtime) 
    {
        this.createdtime = createdtime;
    }

    public Date getCreatedtime() 
    {
        return createdtime;
    }
    public void setUpdatedby(String updatedby) 
    {
        this.updatedby = updatedby;
    }

    public String getUpdatedby() 
    {
        return updatedby;
    }
    public void setUpdatedtime(Date updatedtime) 
    {
        this.updatedtime = updatedtime;
    }

    public Date getUpdatedtime() 
    {
        return updatedtime;
    }
    public void setDeletedby(String deletedby) 
    {
        this.deletedby = deletedby;
    }

    public String getDeletedby() 
    {
        return deletedby;
    }
    public void setDeletedtime(Date deletedtime) 
    {
        this.deletedtime = deletedtime;
    }

    public Date getDeletedtime() 
    {
        return deletedtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("buildingid", getBuildingid())
            .append("buildingname", getBuildingname())
            .append("location", getLocation())
            .append("height", getHeight())
            .append("totalarea", getTotalarea())
            .append("buildingtype", getBuildingtype())
            .append("statusUse", getStatusUse())
            .append("statusVacant", getStatusVacant())
            .append("statusRepair", getStatusRepair())
            .append("createdby", getCreatedby())
            .append("createdtime", getCreatedtime())
            .append("updatedby", getUpdatedby())
            .append("updatedtime", getUpdatedtime())
            .append("deletedby", getDeletedby())
            .append("deletedtime", getDeletedtime())
            .toString();
    }
}
